import { Link } from 'react-router-dom';
import { routerPaths } from './router';

export default () => {
  return (
    <div className='app'>
      <h1>React App Examples</h1>
      <ul>
        <li>
          <Link to={routerPaths.shoppingCart}>Shopping Cart Example</Link>
        </li>
        <li>
          <Link to={routerPaths.counter}>Counter with Reducer Example</Link>
        </li>
      </ul>
    </div>
  );
};
